//
//  RootView.m
//  穷游
//
//  Created by lanou3g on 15/12/18.
//  Copyright © 2015年 王忠奎. All rights reserved.
//

#import "RootView.h"

@implementation RootView

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        [self allViews];
    }
    return self;
}

-(void)allViews
{

    self.tableView = [[UITableView alloc]initWithFrame:self.frame style:UITableViewStyleGrouped];
    self.tableView.backgroundColor = [UIColor cyanColor];
    [self addSubview:self.tableView];






}
@end
